import request from '@/utils/request'

export function saveVideo(data) {
    return request({
        url: '/video/save',
        method: 'post',
        // data: data
        data: {
            data
        }
    })
}

export function queryVideoInfoByUvId(uvid) {
    return request({
        url: '/video/info',
        method: 'get',
        params: {
            uvid: uvid
        }
    })
}

export function queryRelativeRecommendVideoList(uvid, pageSize) {
    return request({
        url: '/video/relative-recommend',
        method: 'get',
        params: {
            uvid: uvid,
            pageSize: pageSize
        }
    })
}